cmake_minimum_required(VERSION 3.16)
project(find_component_demo C CXX)

find_package(Demo REQUIRED COMPONENTS SubA SubB)
add_executable(app main.c)
target_link_libraries(app PRIVATE Demo::SubA Demo::SubB)
